﻿<phone:PhoneApplicationPage 
    x:Class="T163.Open.Api.WP7.Sample.AuthorizePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <StackPanel x:Name="LayoutRoot" Background="Transparent">
        <TextBlock Text="第一步：" Style="{StaticResource PhoneTextLargeStyle}" Margin="10,0,0,0" />
        <TextBlock Text="获取PIN码以授权本程序访问您的帐号。" Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" Margin="10,0,0,0" />
        <Button x:Name="btnAcquire" Click="btnAcquire_Click" Content="获取PIN码" Width="220" HorizontalAlignment="Left" />

        <TextBlock Text="第二步：" Style="{StaticResource PhoneTextLargeStyle}" Margin="10,20,0,0" />
        <TextBlock Text="输入上一步获取到的PIN码。" Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" Margin="10,0,0,0" />
        <TextBox x:Name="txtPIN" Width="480" HorizontalAlignment="Left" />

        <TextBlock Text="第三步：" Style="{StaticResource PhoneTextLargeStyle}" Margin="10,20,0,0" />
        <TextBlock Text="确认PIN码。" Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" Margin="10,0,0,0" />
        <Button x:Name="btnConfirmPIN" Click="btnConfirmPIN_Click" Content="确认PIN码" Width="220" HorizontalAlignment="Left" />
    </StackPanel>

</phone:PhoneApplicationPage>
